export const PAGE_CODE = 'dcs-sales-subPi';
import {PAGE} from '../constants';
export const formatPrintPdfUrl = (id, code) => `/sales/print/report.html?id=${id}&prefix=${code}&name=SubPI&titel=subpi`;
//设置管理员权限
export const PERMISSION = {
    add: 'add',
    update: 'update',
    abandon: 'abandon',
    exportExcel: 'exportExcel',
    exportPdf: 'exportPdf',
    cancel: 'cancel',
    confirm: 'confirm',
};
//重置常量
export const DEFAULT_QUERY_OPTION = {
    dealerId: '',
    country: '',
    marketDepartmentId: '',
    brandId: '',
    batchNumber: '',
    pICode: '',
    cargoDescription: '',
    supplierName: '',
    status: [],
    createTime: [],
    confirmTime: [],
    pageIndex: PAGE.index,
    pageSize: 10,
    sortField: 'code',
    isDesc: true,
};
